<!doctype html>
<html lang="en">

<head>
    <meta charset="utf-8">
    <title>CSS Cookbook: Breadcrumb Navigation</title>
    <link rel="stylesheet" href="styles.css">
    <style>
        .breadcrumb ul {
            list-style: none;
            margin: 0;
            padding: 0;
        }

        .breadcrumb a,
        .breadcrumb span {
            padding: .5em 1em;
        }

    </style>

    <style class="editable">
        .breadcrumb ul {
            display: flex;
        }

        .breadcrumb li::before {
            content: "→";
        }

        .breadcrumb li:first-child::before {
            content: "";
        }
    </style>
</head>

<body>
    <section class="preview">
        <nav aria-label="Breadcrumb" class="breadcrumb">
            <ul>
                <li><a href="">Home</a></li>
                <li><a href="">Category</a></li>
                <li><a href="">Sub-Category</a></li>
                <li><span aria-current="page">Product</span></li>
            </ul>
        </nav>
    </section>

    <textarea class="playable playable-css" style="height: 210px;">
.breadcrumb ul {
    display: flex;
}
    
.breadcrumb li::before {
    content: "→";
}
    
.breadcrumb li:first-child::before {
    content: "";
}
    </textarea>

    <textarea class="playable playable-html" style="height: 170px;">
<nav aria-label="Breadcrumb" class="breadcrumb">
    <ul>
        <li><a href="">Home</a></li>
        <li><a href="">Category</a></li>
        <li><a href="">Sub-Category</a></li>
        <li><span aria-current="page">Product</span></li>
    </ul>
</nav>
    </textarea>

    <div class="playable-buttons">
        <input id="reset" type="button" value="Reset">
    </div>
</body>
<script src="playable.js"></script>

</html>